//
//  ShangjiaTableViewCell.m
//  MarryMe
//
//  Created by lanou3g on 16/1/6.
//  Copyright © 2016年 revocher. All rights reserved.
//

#import "ShangjiaTableViewCell.h"
#import "HostModel.h"
#import "UIImageView+WebCache.h"
@implementation ShangjiaTableViewCell

-(void)setCellWithModel:(HostModel *)model{
    [self.mainImage sd_setImageWithURL:[NSURL URLWithString:model.logo_path]];
    self.name.text = model.name;
    self.taocan.text =model.active_works_pcount;
    self.fans.text = model.active_cases_pcount;
    self.mainImage.layer.borderWidth = 0.5;
    self.mainImage.layer.borderColor = [UIColor grayColor].CGColor;
}




- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
